Skip to content

Fix specs for Array pack with format J and j specs - #336

Merged
mjago merged 1 commit into
ruby:masterfrom
mjago:fix_j_spec_for_big_endian_platforms
Oct 24, 2016
Merged

Fix specs for Array pack with format J and j specs#336
mjago merged 1 commit into
ruby:masterfrom
mjago:fix_j_spec_for_big_endian_platforms

Conversation

@mjago

@mjago mjago commented Oct 24, 2016

Copy link
Copy Markdown
Contributor

on big-endian platforms.

@mjago

mjago commented Oct 24, 2016

Copy link
Copy Markdown
Contributor Author

@eregon Does this look ok to merge?

@eregon

eregon commented Oct 24, 2016

Copy link
Copy Markdown
Member

It sounds fine although the diff is hard to read.
I suppose you wrapped the _be in big_endian and _le in little_endian?
Thanks for the fix! Feel to free to merge it 😃

@mjago
mjago merged commit b4bfa56 into ruby:master Oct 24, 2016
@mjago
mjago deleted the fix_j_spec_for_big_endian_platforms branch October 24, 2016 09:26
@mjago

mjago commented Oct 24, 2016

Copy link
Copy Markdown
Contributor Author

Yes the _ and ! options are `native endian' so change with platform endianness 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants